package com.bricker.laboratorymanagement.business.service.Impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bricker.laboratorymanagement.business.dao.SysTieMapper;
import com.bricker.laboratorymanagement.business.entity.SysTie;
import com.bricker.laboratorymanagement.business.service.SysTieService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysTieServiceImpl extends ServiceImpl<SysTieMapper, SysTie> implements SysTieService {

    @Override
    public List<SysTie> getAllTies() {
        return super.list(Wrappers.<SysTie>lambdaQuery()
                        .eq(SysTie::getDelFlag,"0"))    ;
    }
}
